package com.java_senior_8;

public class Teacher {
    private int id;
    private String name;
    private String sex;
    private int teachAge;

    public Teacher(int id, String name, String sex, int teachAge) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.teachAge = teachAge;
    }

    public Teacher() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getTeachAge() {
        return teachAge;
    }

    public void setTeachAge(int teachAge) {
        this.teachAge = teachAge;
    }
}
